﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace O.M.Production.Domain.Entity
{
    /// <summary>
    /// 项目管理
    /// </summary>

    [SugarTable("project_management")]
    public class project_management : BaseModel
    {
        /// <summary>
        /// 项目编号
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "项目编号", Length = 100)]
        public string item_number { get; set; }

        /// <summary>
        /// 项目分类编号
        /// </summary>
        [SugarColumn(ColumnDescription = "项目分类编号", Length = 100)]
        public string? project_type_id { get; set; }

        /// <summary>
        /// 项目阶段编号
        /// </summary>
        [SugarColumn(ColumnDescription = "项目阶段编号", Length = 100)]
        public string? project_stage_id { get; set; }

        /// <summary>
        /// 项目状态ID
        /// </summary>
        [SugarColumn(ColumnDescription = "项目状态ID", Length = 100)]
        public string? project_status_id { get; set; }

        /// <summary>
        /// 项目来源ID
        /// </summary>
        [SugarColumn(ColumnDescription = "项目来源ID", Length = 100)]
        public string? project_source_id { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        [SugarColumn(ColumnDescription = "项目名称", Length = 100)]
        public string? project_name { get; set; }

        /// <summary>
        /// 负责人
        /// </summary>
        [SugarColumn(ColumnDescription = "负责人", Length = 100)]
        public string? principal { get; set; }

        /// <summary>
        /// 登记时间
        /// </summary>
        [SugarColumn(ColumnDescription = "登记时间")]
        public DateTime? registration_time { get; set; }

        /// <summary>
        /// 项目分类
        /// </summary>
        [SugarColumn(ColumnDescription = "项目分类", Length = 100)]
        public string? project_classification { get; set; }

        /// <summary>
        /// 项目来源
        /// </summary>
        [SugarColumn(ColumnDescription = "项目来源", Length = 100)]
        public string? project_source { get; set; }

        /// <summary>
        /// 项目状态
        /// </summary>
        [SugarColumn(ColumnDescription = "项目状态", Length = 100)]
        public string? project_status { get; set; }

        /// <summary>
        /// 项目阶段
        /// </summary>
        [SugarColumn(ColumnDescription = "项目阶段", Length = 100)]
        public string? project { get; set; }

    /// <summary>
    /// 预计费用
    /// </summary>
    [SugarColumn(ColumnDescription = "预计费用")]
    public decimal estimated_cost { get; set; }

    /// <summary>
    /// 项目总额
    /// </summary>
    [SugarColumn(ColumnDescription = "项目总额")]
    public decimal total_project_amount { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    [SugarColumn(ColumnDescription = "备注", Length = 100)]
    public string? remark { get; set; }
}
}
